From: Raimond Spekking Date: Fri, 27 Feb 2009 08:37:35 +0000 (+0000) Subject: * Wrap special page summary message '$specialPageName-summary' into a div X-Git-Tag: 1.31.0-rc.0~42666 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=8a11565eafd44b2b7a5d0f4872fabe4adfd9c2b7;p=lhc%2Fweb%2Fwiklou.git * Wrap special page summary message '$specialPageName-summary' into a div with class 'mw-specialpage-summary' --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 127bb0176c..acd1175e77 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -119,6 +119,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * Added $wgUseTagFilter to control enabling of filter-by-change-tag * (bug 17291) MediaWiki:Nocontribs now has an optional $1 parameter for the username +* Wrap special page summary message '$specialPageName-summary' into a div + with class 'mw-specialpage-summary' === Bug fixes in 1.15 === * (bug 16968) Special:Upload no longer throws useless warnings. diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index d89a4c2366..70938e636c 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -759,7 +759,7 @@ class SpecialPage $msg = $wgContLang->lc( $this->name() ) . '-summary'; $out = wfMsgNoTrans( $msg ); if ( ! wfEmptyMsg( $msg, $out ) and $out !== '' and ! $this->including() ) { - $wgOut->addWikiMsg( $msg ); + $wgOut->wrapWikiMsg( "
\n$1
", $msg ); } }